export type Order = {
  order_sn: string;
  order_type: string;
  service_type: string;
  book_date: string;
  book_time: string;
  actual_amount: number;
  order_amount: number;
  actual_order_status: string;
  order_status: string;
  count_down: number;
  start_address: string;
  end_address: string;
  car_type_name: string;
  created_at: string;
  driver_info: {
    name: string;
    nickname: string;
    phone_area: string;
    phone: string;
  };
};

export type OrderDetails = {
  order_sn: string;
  order_type: string;
  service_type: string;
  actual_order_status: string;
  order_status: string;
  refund_status: string;
  count_down: number;
  create_order_time: string;
  book_date: string;
  book_time: string;
  adult_num: number;
  child_num: number;
  booking_name: string;
  phone_area: string;
  booking_mobile: string;
  booking_email: string;
  emergency_name: string;
  emergency_phone_area: string;
  emergency_mobile: string;
  flight_number: string;
  start_address: string;
  end_address: string;
  confirm_refuse_reason: string;
  member_message: string;
  member_message_ja: string;
  cancel_time: string;
  free_cancel_time: string;
  service_info: {
    car_type_name: string;
    price: string;
    images: string;
    distance: number;
    use_time: number;
    passenger_num: number;
    max_package_num: number;
    driver_language: string;
    pick_up_sign: string;
    pick_up_sign_amount: string;
    child_seat_add_num: number;
    child_seat_add_amount: string;
  };
  additional_service_info: {
    pick_up_sign: {
      price: string;
      isLimitTimeFree: boolean;
    };
    children_seat_add: {
      price: string;
      isLimitTimeFree: boolean;
    }
  };
  innn_info: {
    free_package_num: number;
    extra_package_num: number;
    package_total_amount: string;
    total_package_num: number;
    total_car_price: string;
    qrcode_info: string;
    verify_status: string;
  };
  driver_info: {
    name: string;
    nickname: string;
    phone_area: string;
    phone: string;
    photo: string;
    car_license: string;
  };
  pay_time: string;
  order_amount: string;
  coupon_amount: string;
  bal_amount: string;
  actual_amount: number;
  refund_time: string;
  refund_fee: string;
  refund_amount: number;
  refund_bal_amount: string;
  process: OrderDetailsProcess[]
};

export type OrderDetailsProcess = {
  desc: string;
  time: string;
  images: string;
  actionWay: string;
  isActive: boolean;
}

export type OrderRefundDetails = {
  orderSn: string;
  orderCreateAt: string;
  orderAmount: string;
  refundTime: string;
  cancelFee: string;
  refundAmount: number;
  refundBalance: string;
};
